<?php

declare(strict_types=1);

namespace App\Entity;

use App\Models\OrderReportJob;

class OrderReportJobEntity extends ABaseEntity
{
    public function __construct(OrderReportJob $model)
    {
        $this->model = $model;
    }

    /**
     * @return int
     */
    public function getId()
    {
        return $this->model->id;
    }

    public function setOrderId(int $orderId)
    {
        $this->model->order_id = $orderId;
    }

    public function getStatus(): int
    {
        return $this->model->status;
    }

    public function setStatus(int $status): void
    {
        $this->model->status = $status;
    }

    /**
     * @return int
     */
    public function getOrderId()
    {
        return $this->model->order_id;
    }

    public function getReason(): string
    {
        return $this->model->reason;
    }

    public function setReason(string $reason): void
    {
        $this->model->reason = $reason;
    }
}
